Skip to main content

mediaPlaybackRequiresUserAction

Type​

property

Summary​

Controls if the browser should allow media files to require user action to play.

Syntax​

set the mediaPlaybackRequiresUserAction of <widget> to <pEnabled>
get the mediaPlaybackRequiresUserAction of <widget>

Description​

Use the mediaPlaybackRequiresUserAction property to control if the browser should allow media files to require user action to play or to be played automatically in the page.

Value​

NameTypeDescription

value

boolean

true if browser should require user action; false otherwise.

Compatibility and Support​

Introduced

LiveCode 10.0.0

OS

ios

android